home *** CD-ROM | disk | FTP | other *** search
- /***************
- * NAME: randomsph.ray
- * VERSION: 1.0 08.07.1995
- * DESCRIPTION: This ARexx-programm demonstrates random colors of faces
- * AUTHORS: Andreas Heumann
- * BUGS: none
- * TO DO: none
- * HISTORY:
- * DATE NAME COMMENT
- * 08.07.95 ah initial release
- ***************/
-
- signal on error
-
- options results
-
- IF ~show('P','RAYSTORM') THEN DO
- address COMMAND 'run >NIL: <NIL: /RayStorm'
- address COMMAND WaitForPort RAYSTORM
- END
-
- address RAYSTORM
-
- 'OBJECTPATH /objects'
-
- 'SETSCREEN 160 128'
- 'SETCAMERA <0,0,300> <0,0,0> <0,1,0> 25 20'
- 'POINTLIGHT <10,-10,100>'
-
- 'LOADOBJ randomsphere.iob'
-
- 'STARTRENDER QUICK'
-
- 'SAVEPIC randomsph.iff'
-
- 'CLEANUP'
-
- exit 0
-
- error:
- say "Error" rc "in line" sigl ":"
- GETERRORSTR rc
- say result
- exit 0
-